package com.jhzn.geomap.mapper;

import com.jhzn.geomap.model.Polygon;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface PolygonMapper {

    List<Polygon> findAll();

    void insert(Polygon polygon);

    void update(Polygon polygon);

    void delete(Long id);
}